/*
 * Timer_delay.hpp
 *
 *  Created on: Jul 16, 2016
 *      Author: Yang
 */

#ifndef TIMER_DELAY_HPP_
#define TIMER_DELAY_HPP_

#include "stm32f4xx_hal.h"

class Timer_delay
{
public:
    Timer_delay(){};
    void init(void);
    void delay_us(uint32_t time);
    void delay_ms(uint32_t time);
};

void Timer_delay_IRQ(void);
extern TIM_HandleTypeDef htim13;

#endif /* TIMER_DELAY_HPP_ */
